<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>OpenRF: Radio/SX1272/radioapi.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenRF
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Modules</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_20fce5edfbd257758c230f26637be944.html">Radio</a></li><li class="navelem"><a class="el" href="dir_dced8a0d1af06befa5e446b2e7171aa1.html">SX1272</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">radioapi.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*************************************************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> **                                                                                 **</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> ** radioapi.h          SX1272 RFIC                                                 **</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> **                                                                                 **</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">**************************************************************************************</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">**                                                                                  **</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">** Written By:  Steve Montgomery                                                    **</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">**              Digital Six Laboratories LLC                                        **</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">** (c)2012,2013,2014 Digital Six Labs, All rights reserved                          **</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">**                                                                                  **</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">**************************************************************************************/</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// OpenRF™ Protocol Platform</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// Open Source - MIT License</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// Revision History</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">// Revision     Date    Revisor     Description</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">// ===================================================================================</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">// ===================================================================================</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"></span><span class="preprocessor">#ifndef RADIOAPI_DEFS_H</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#define RADIOAPI_DEFS_H</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &quot;..\..\MicrocontrollerAPI\RL78\microapi.h&quot;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &quot;sx1272_defs.h&quot;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#define MAXTIMERS 16</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="group___radio.html#ga945845313759fe0d15f35cbfd8515035">   38</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="group___radio.html#gga945845313759fe0d15f35cbfd8515035a5123581351e4a39f5fbc3c9cc68f1fcc">   40</a></span>&#160;    <a class="code" href="group___radio.html#gga945845313759fe0d15f35cbfd8515035a5123581351e4a39f5fbc3c9cc68f1fcc">kBlockingCall</a>,</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="group___radio.html#gga945845313759fe0d15f35cbfd8515035aea7cc667325b8106d6119f0d2bfbb400">   42</a></span>&#160;    <a class="code" href="group___radio.html#gga945845313759fe0d15f35cbfd8515035aea7cc667325b8106d6119f0d2bfbb400">kEventDriven</a></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;} <a class="code" href="group___radio.html#ga945845313759fe0d15f35cbfd8515035">tBlockingModes</a>;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="group___radio.html#gad2b6877d3d2c1164d3373dc9b98cab84">   47</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="group___radio.html#ggad2b6877d3d2c1164d3373dc9b98cab84a5271b78d0e7e16099e5569ac198b6d4c">   49</a></span>&#160;    <a class="code" href="group___radio.html#ggad2b6877d3d2c1164d3373dc9b98cab84a5271b78d0e7e16099e5569ac198b6d4c">kTxMode</a> = 0,</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="group___radio.html#ggad2b6877d3d2c1164d3373dc9b98cab84a10fa59809c02d95ab838667349b2d5f6">   51</a></span>&#160;    <a class="code" href="group___radio.html#ggad2b6877d3d2c1164d3373dc9b98cab84a10fa59809c02d95ab838667349b2d5f6">kIdleRxMode</a>,</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="group___radio.html#ggad2b6877d3d2c1164d3373dc9b98cab84a5f73ccc433cbdf965d516c55c5a5c4ef">   53</a></span>&#160;    <a class="code" href="group___radio.html#ggad2b6877d3d2c1164d3373dc9b98cab84a5f73ccc433cbdf965d516c55c5a5c4ef">kRxMode</a>,</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="group___radio.html#ggad2b6877d3d2c1164d3373dc9b98cab84a635358a3f25c30feb113eb976975a947">   55</a></span>&#160;    <a class="code" href="group___radio.html#ggad2b6877d3d2c1164d3373dc9b98cab84a635358a3f25c30feb113eb976975a947">kRxAckMode</a>,</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="group___radio.html#ggad2b6877d3d2c1164d3373dc9b98cab84a8ac217adac9fd5fbd2fb77b836ecd5cb">   57</a></span>&#160;    <a class="code" href="group___radio.html#ggad2b6877d3d2c1164d3373dc9b98cab84a8ac217adac9fd5fbd2fb77b836ecd5cb">kHopMode</a></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;} <a class="code" href="group___radio.html#gad2b6877d3d2c1164d3373dc9b98cab84">tRadioStates</a>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="group___radio.html#gaceb4f15c2a65dde634322d4ab88c88ff">   62</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffae25fdfdc1135323ecbbf06cfe915300b">   64</a></span>&#160;    <a class="code" href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffae25fdfdc1135323ecbbf06cfe915300b">kBlockingCADSingle</a>,</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa895153fe51e5fdf95fb5509688644156">   66</a></span>&#160;    <a class="code" href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa895153fe51e5fdf95fb5509688644156">kBlockingNoCADSingle</a>,</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffafc4c3ebc9dfc26a5e2c688e4e9fc7b1f">   68</a></span>&#160;    <a class="code" href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffafc4c3ebc9dfc26a5e2c688e4e9fc7b1f">kEventingCADSingle</a>,</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa979d4f5048b35587debcc183f17366ca">   70</a></span>&#160;    <a class="code" href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa979d4f5048b35587debcc183f17366ca">kEventingNoCADSingle</a>,</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa8e3b248850c56360a4266b27a9f52a64">   72</a></span>&#160;    <a class="code" href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa8e3b248850c56360a4266b27a9f52a64">kEventingCADContinuous</a>,</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa048926df548330a0444e066e22cd11d3">   74</a></span>&#160;    <a class="code" href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa048926df548330a0444e066e22cd11d3">kEventingNoCADContinuous</a>,</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa53189c968544340ca574c404ac15a32d">   76</a></span>&#160;    <a class="code" href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa53189c968544340ca574c404ac15a32d">kBlockingCADContinuous</a>,</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa54e88f2b4c684f27bbde2795a0fb6635">   78</a></span>&#160;    <a class="code" href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa54e88f2b4c684f27bbde2795a0fb6635">kBlockingNoCADContinuous</a>,</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;} <a class="code" href="group___radio.html#gaceb4f15c2a65dde634322d4ab88c88ff">tReceiveModes</a>;</div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="group___radio.html#gaba81c4c5fad7e2e0cef01f8e6c710ecb">   82</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="group___radio.html#gaba81c4c5fad7e2e0cef01f8e6c710ecb">tPacketTypes</a>{</div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="group___radio.html#ggaba81c4c5fad7e2e0cef01f8e6c710ecba4922fb6e7e9afad53b744dd08c081d73">   84</a></span>&#160;    <a class="code" href="group___radio.html#ggaba81c4c5fad7e2e0cef01f8e6c710ecba4922fb6e7e9afad53b744dd08c081d73">kUniAckPacketType</a> = 0,</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="group___radio.html#ggaba81c4c5fad7e2e0cef01f8e6c710ecbac93d1cbeb77687dac97e78c66f7e77df">   86</a></span>&#160;    <a class="code" href="group___radio.html#ggaba81c4c5fad7e2e0cef01f8e6c710ecbac93d1cbeb77687dac97e78c66f7e77df">kUniNoAckPacketType</a>,</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="group___radio.html#ggaba81c4c5fad7e2e0cef01f8e6c710ecba6b13460f514dd1571e5e6e3ddec21b2b">   88</a></span>&#160;    <a class="code" href="group___radio.html#ggaba81c4c5fad7e2e0cef01f8e6c710ecba6b13460f514dd1571e5e6e3ddec21b2b">kMulticastPacketType</a>,</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="group___radio.html#ggaba81c4c5fad7e2e0cef01f8e6c710ecba54dde0b38f2409696a79c860f66a8cbd">   90</a></span>&#160;    <a class="code" href="group___radio.html#ggaba81c4c5fad7e2e0cef01f8e6c710ecba54dde0b38f2409696a79c860f66a8cbd">kAckPacketType</a>,</div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="group___radio.html#ggaba81c4c5fad7e2e0cef01f8e6c710ecba5de47d476cbbea835df2253d741c90f1">   92</a></span>&#160;    <a class="code" href="group___radio.html#ggaba81c4c5fad7e2e0cef01f8e6c710ecba5de47d476cbbea835df2253d741c90f1">kSyncPacketType</a>,</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    kNone</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;} <a class="code" href="group___radio.html#gaba81c4c5fad7e2e0cef01f8e6c710ecb">tPacketTypes</a>;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="keyword">enum</span> {</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    kInterruptP0,</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    kInterruptP1,</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    kInterruptP2,</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    kInterruptP3,</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    kInterruptP4,</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    kInterruptP5,</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    kInterruptK0 = 0x80,</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    kInterruptK1,</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    kInterruptK2,</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    kInterruptK3</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;};</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="keyword">enum</span> {</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    flagRadioModeReady = 0x80,</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    flagReceiverReady = 0x40,</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    flagTransmitterReady = 0x20,</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    flagPllLock = 0x10,</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    flagRssiThreshold = 0x08,</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    flagReceiverTimeout = 0x04,</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    flagIntermediateMode = 0x02,</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    flagSyncMatch = 0x01,</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    flagFifoFull = 0x80,</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    flagFifoNotEmpty = 0x40,</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    flagFifoLevel = 0x20,</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    flagFifoOverrun = 0x10,</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    flagPacketSent = 0x08,</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    flagPayloadReady = 0x04,</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    flagCRCGood = 0x02</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;};</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    kSleepMode = 0x00,</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    kStandbyMode = 0x01,</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    kFSTXMode = 0x02,</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    kTransmitMode = 0x03,</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    kFSRXMode = 0x04,</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    kRxContinuousMode = 0x05,</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    kRxSingleMode = 0x06,</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    kCADMode = 0x07,</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    kLoraMode = 0x80,</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    kSharedRegMode = 0x40</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;} tOperatingModes;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="comment">// ***********************************************************************************</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="comment"></span>U8 <a class="code" href="group___radio.html#gada51b7416b36ed55512105efb34d1bea">RadioSendPacket</a>(U8 length, </div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        U8 *SDU, </div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;        <a class="code" href="group___radio.html#ga945845313759fe0d15f35cbfd8515035">tBlockingModes</a> blocking );</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;U8 <a class="code" href="group___radio.html#gab65f9e7c01642c4deeb8e839381c956d">RadioSetReceiveTimeout</a>(U16 to );</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;U8 <a class="code" href="group___radio.html#gae8f24d92ca38d72307c5f857af9fee6d">RadioReceivePacket</a>(<a class="code" href="group___radio.html#gaceb4f15c2a65dde634322d4ab88c88ff">tReceiveModes</a> rxMode );</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;U8 <a class="code" href="group___radio.html#gad3dd1eaefbdde2874179895a4f4200f0">RadioInitializeAPI</a>();</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___radio.html#ga00b6c7fb9acc725209a04400aa395fa5">RadioSetPreambleCount</a>(<a class="code" href="union_u_u16.html">UU16</a> preambleCount );</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___radio.html#ga53680096cfcc3128f0bc9b9ddb89c98a">RadioStandbyMode</a>();</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___radio.html#ga848e924057f1ddb37b07c9daafea328a">RadioSleepMode</a>();</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___radio.html#ga4433194a2153ba9e045a08309a979f00">RadioSetChannel</a>(U8 channel );</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___radio.html#ga6fab90d6a25b4a983841e4f7e824b611">RadioSetTxPower</a>(</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;        U8 power );</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;U8 <a class="code" href="group___radio.html#gaec325e472163bf4bca0a326fe1e80f3a">RadioGetRSSI</a>();</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;U8 <a class="code" href="group___radio.html#ga8b41bb4532d675a925bfcc0633278442">RadioGetSNR</a>();</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;</div>
<div class="ttc" id="group___radio_html_gaba81c4c5fad7e2e0cef01f8e6c710ecb"><div class="ttname"><a href="group___radio.html#gaba81c4c5fad7e2e0cef01f8e6c710ecb">tPacketTypes</a></div><div class="ttdeci">tPacketTypes</div><div class="ttdef"><b>Definition:</b> radioapi.h:82</div></div>
<div class="ttc" id="group___radio_html_gae8f24d92ca38d72307c5f857af9fee6d"><div class="ttname"><a href="group___radio.html#gae8f24d92ca38d72307c5f857af9fee6d">RadioReceivePacket</a></div><div class="ttdeci">U8 RadioReceivePacket(tReceiveModes rxMode)</div><div class="ttdef"><b>Definition:</b> radioapi.c:482</div></div>
<div class="ttc" id="group___radio_html_gaec325e472163bf4bca0a326fe1e80f3a"><div class="ttname"><a href="group___radio.html#gaec325e472163bf4bca0a326fe1e80f3a">RadioGetRSSI</a></div><div class="ttdeci">U8 RadioGetRSSI()</div><div class="ttdef"><b>Definition:</b> radioapi.c:858</div></div>
<div class="ttc" id="group___radio_html_ga8b41bb4532d675a925bfcc0633278442"><div class="ttname"><a href="group___radio.html#ga8b41bb4532d675a925bfcc0633278442">RadioGetSNR</a></div><div class="ttdeci">U8 RadioGetSNR()</div><div class="ttdef"><b>Definition:</b> radioapi.c:862</div></div>
<div class="ttc" id="group___radio_html_ga848e924057f1ddb37b07c9daafea328a"><div class="ttname"><a href="group___radio.html#ga848e924057f1ddb37b07c9daafea328a">RadioSleepMode</a></div><div class="ttdeci">void RadioSleepMode()</div><div class="ttdef"><b>Definition:</b> radioapi.c:772</div></div>
<div class="ttc" id="group___radio_html_ggaba81c4c5fad7e2e0cef01f8e6c710ecbac93d1cbeb77687dac97e78c66f7e77df"><div class="ttname"><a href="group___radio.html#ggaba81c4c5fad7e2e0cef01f8e6c710ecbac93d1cbeb77687dac97e78c66f7e77df">kUniNoAckPacketType</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:86</div></div>
<div class="ttc" id="group___radio_html_ga4433194a2153ba9e045a08309a979f00"><div class="ttname"><a href="group___radio.html#ga4433194a2153ba9e045a08309a979f00">RadioSetChannel</a></div><div class="ttdeci">void RadioSetChannel(U8 channel)</div><div class="ttdef"><b>Definition:</b> radioapi.c:793</div></div>
<div class="ttc" id="group___radio_html_ggaba81c4c5fad7e2e0cef01f8e6c710ecba54dde0b38f2409696a79c860f66a8cbd"><div class="ttname"><a href="group___radio.html#ggaba81c4c5fad7e2e0cef01f8e6c710ecba54dde0b38f2409696a79c860f66a8cbd">kAckPacketType</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:90</div></div>
<div class="ttc" id="group___radio_html_ggad2b6877d3d2c1164d3373dc9b98cab84a5271b78d0e7e16099e5569ac198b6d4c"><div class="ttname"><a href="group___radio.html#ggad2b6877d3d2c1164d3373dc9b98cab84a5271b78d0e7e16099e5569ac198b6d4c">kTxMode</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:49</div></div>
<div class="ttc" id="group___radio_html_ggaceb4f15c2a65dde634322d4ab88c88ffa53189c968544340ca574c404ac15a32d"><div class="ttname"><a href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa53189c968544340ca574c404ac15a32d">kBlockingCADContinuous</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:76</div></div>
<div class="ttc" id="group___radio_html_gad2b6877d3d2c1164d3373dc9b98cab84"><div class="ttname"><a href="group___radio.html#gad2b6877d3d2c1164d3373dc9b98cab84">tRadioStates</a></div><div class="ttdeci">tRadioStates</div><div class="ttdef"><b>Definition:</b> radioapi.h:47</div></div>
<div class="ttc" id="group___radio_html_ga945845313759fe0d15f35cbfd8515035"><div class="ttname"><a href="group___radio.html#ga945845313759fe0d15f35cbfd8515035">tBlockingModes</a></div><div class="ttdeci">tBlockingModes</div><div class="ttdef"><b>Definition:</b> radioapi.h:38</div></div>
<div class="ttc" id="group___radio_html_ggaceb4f15c2a65dde634322d4ab88c88ffae25fdfdc1135323ecbbf06cfe915300b"><div class="ttname"><a href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffae25fdfdc1135323ecbbf06cfe915300b">kBlockingCADSingle</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:64</div></div>
<div class="ttc" id="group___radio_html_ggaba81c4c5fad7e2e0cef01f8e6c710ecba6b13460f514dd1571e5e6e3ddec21b2b"><div class="ttname"><a href="group___radio.html#ggaba81c4c5fad7e2e0cef01f8e6c710ecba6b13460f514dd1571e5e6e3ddec21b2b">kMulticastPacketType</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:88</div></div>
<div class="ttc" id="union_u_u16_html"><div class="ttname"><a href="union_u_u16.html">UU16</a></div><div class="ttdef"><b>Definition:</b> TypeDefinitions.h:54</div></div>
<div class="ttc" id="group___radio_html_gad3dd1eaefbdde2874179895a4f4200f0"><div class="ttname"><a href="group___radio.html#gad3dd1eaefbdde2874179895a4f4200f0">RadioInitializeAPI</a></div><div class="ttdeci">U8 RadioInitializeAPI()</div><div class="ttdef"><b>Definition:</b> radioapi.c:691</div></div>
<div class="ttc" id="group___radio_html_ggaceb4f15c2a65dde634322d4ab88c88ffafc4c3ebc9dfc26a5e2c688e4e9fc7b1f"><div class="ttname"><a href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffafc4c3ebc9dfc26a5e2c688e4e9fc7b1f">kEventingCADSingle</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:68</div></div>
<div class="ttc" id="group___radio_html_ggad2b6877d3d2c1164d3373dc9b98cab84a635358a3f25c30feb113eb976975a947"><div class="ttname"><a href="group___radio.html#ggad2b6877d3d2c1164d3373dc9b98cab84a635358a3f25c30feb113eb976975a947">kRxAckMode</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:55</div></div>
<div class="ttc" id="group___radio_html_ggad2b6877d3d2c1164d3373dc9b98cab84a10fa59809c02d95ab838667349b2d5f6"><div class="ttname"><a href="group___radio.html#ggad2b6877d3d2c1164d3373dc9b98cab84a10fa59809c02d95ab838667349b2d5f6">kIdleRxMode</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:51</div></div>
<div class="ttc" id="group___radio_html_ga6fab90d6a25b4a983841e4f7e824b611"><div class="ttname"><a href="group___radio.html#ga6fab90d6a25b4a983841e4f7e824b611">RadioSetTxPower</a></div><div class="ttdeci">void RadioSetTxPower(U8 power)</div><div class="ttdef"><b>Definition:</b> radioapi.c:841</div></div>
<div class="ttc" id="group___radio_html_ggad2b6877d3d2c1164d3373dc9b98cab84a5f73ccc433cbdf965d516c55c5a5c4ef"><div class="ttname"><a href="group___radio.html#ggad2b6877d3d2c1164d3373dc9b98cab84a5f73ccc433cbdf965d516c55c5a5c4ef">kRxMode</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:53</div></div>
<div class="ttc" id="group___radio_html_gga945845313759fe0d15f35cbfd8515035a5123581351e4a39f5fbc3c9cc68f1fcc"><div class="ttname"><a href="group___radio.html#gga945845313759fe0d15f35cbfd8515035a5123581351e4a39f5fbc3c9cc68f1fcc">kBlockingCall</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:40</div></div>
<div class="ttc" id="group___radio_html_ggaceb4f15c2a65dde634322d4ab88c88ffa048926df548330a0444e066e22cd11d3"><div class="ttname"><a href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa048926df548330a0444e066e22cd11d3">kEventingNoCADContinuous</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:74</div></div>
<div class="ttc" id="group___radio_html_ggaceb4f15c2a65dde634322d4ab88c88ffa8e3b248850c56360a4266b27a9f52a64"><div class="ttname"><a href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa8e3b248850c56360a4266b27a9f52a64">kEventingCADContinuous</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:72</div></div>
<div class="ttc" id="group___radio_html_gaceb4f15c2a65dde634322d4ab88c88ff"><div class="ttname"><a href="group___radio.html#gaceb4f15c2a65dde634322d4ab88c88ff">tReceiveModes</a></div><div class="ttdeci">tReceiveModes</div><div class="ttdef"><b>Definition:</b> radioapi.h:62</div></div>
<div class="ttc" id="group___radio_html_ggaceb4f15c2a65dde634322d4ab88c88ffa979d4f5048b35587debcc183f17366ca"><div class="ttname"><a href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa979d4f5048b35587debcc183f17366ca">kEventingNoCADSingle</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:70</div></div>
<div class="ttc" id="group___radio_html_ggaceb4f15c2a65dde634322d4ab88c88ffa54e88f2b4c684f27bbde2795a0fb6635"><div class="ttname"><a href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa54e88f2b4c684f27bbde2795a0fb6635">kBlockingNoCADContinuous</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:78</div></div>
<div class="ttc" id="group___radio_html_ggaceb4f15c2a65dde634322d4ab88c88ffa895153fe51e5fdf95fb5509688644156"><div class="ttname"><a href="group___radio.html#ggaceb4f15c2a65dde634322d4ab88c88ffa895153fe51e5fdf95fb5509688644156">kBlockingNoCADSingle</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:66</div></div>
<div class="ttc" id="group___radio_html_gab65f9e7c01642c4deeb8e839381c956d"><div class="ttname"><a href="group___radio.html#gab65f9e7c01642c4deeb8e839381c956d">RadioSetReceiveTimeout</a></div><div class="ttdeci">U8 RadioSetReceiveTimeout(U16 to)</div><div class="ttdef"><b>Definition:</b> radioapi.c:478</div></div>
<div class="ttc" id="group___radio_html_gada51b7416b36ed55512105efb34d1bea"><div class="ttname"><a href="group___radio.html#gada51b7416b36ed55512105efb34d1bea">RadioSendPacket</a></div><div class="ttdeci">U8 RadioSendPacket(U8 length, U8 *SDU, tBlockingModes blocking)</div><div class="ttdef"><b>Definition:</b> radioapi.c:471</div></div>
<div class="ttc" id="group___radio_html_ga00b6c7fb9acc725209a04400aa395fa5"><div class="ttname"><a href="group___radio.html#ga00b6c7fb9acc725209a04400aa395fa5">RadioSetPreambleCount</a></div><div class="ttdeci">void RadioSetPreambleCount(UU16 preambleCount)</div><div class="ttdef"><b>Definition:</b> radioapi.c:745</div></div>
<div class="ttc" id="group___radio_html_ggaba81c4c5fad7e2e0cef01f8e6c710ecba5de47d476cbbea835df2253d741c90f1"><div class="ttname"><a href="group___radio.html#ggaba81c4c5fad7e2e0cef01f8e6c710ecba5de47d476cbbea835df2253d741c90f1">kSyncPacketType</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:92</div></div>
<div class="ttc" id="group___radio_html_ggad2b6877d3d2c1164d3373dc9b98cab84a8ac217adac9fd5fbd2fb77b836ecd5cb"><div class="ttname"><a href="group___radio.html#ggad2b6877d3d2c1164d3373dc9b98cab84a8ac217adac9fd5fbd2fb77b836ecd5cb">kHopMode</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:57</div></div>
<div class="ttc" id="group___radio_html_gga945845313759fe0d15f35cbfd8515035aea7cc667325b8106d6119f0d2bfbb400"><div class="ttname"><a href="group___radio.html#gga945845313759fe0d15f35cbfd8515035aea7cc667325b8106d6119f0d2bfbb400">kEventDriven</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:42</div></div>
<div class="ttc" id="group___radio_html_ggaba81c4c5fad7e2e0cef01f8e6c710ecba4922fb6e7e9afad53b744dd08c081d73"><div class="ttname"><a href="group___radio.html#ggaba81c4c5fad7e2e0cef01f8e6c710ecba4922fb6e7e9afad53b744dd08c081d73">kUniAckPacketType</a></div><div class="ttdef"><b>Definition:</b> radioapi.h:84</div></div>
<div class="ttc" id="group___radio_html_ga53680096cfcc3128f0bc9b9ddb89c98a"><div class="ttname"><a href="group___radio.html#ga53680096cfcc3128f0bc9b9ddb89c98a">RadioStandbyMode</a></div><div class="ttdeci">void RadioStandbyMode()</div><div class="ttdef"><b>Definition:</b> radioapi.c:761</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Sep 20 2014 15:04:07 for OpenRF by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
